package com.mx.kn.cstf2.actions;

import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

import freemarker.template.utility.Execute;

@Component("displayFilesAction")
@Scope(value="session")
public class DisplayFilesAction extends  ActionSupport{

//	private Map<String, String> error;
	private String result;
	public String execute(){
		ActionContext contexto = ActionContext.getContext();
		Map<String, Object> sesion = contexto.getSession();
		result = (String)sesion.get("result");
		return SUCCESS;
		
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}

	

	

	
	
}
